import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import du from './views/自定义过渡类名.vue'
import aaa from './views/js钩子函数.vue'
import bbb from './views/滑动按钮.vue'
import ccc from './views/列表交错过渡.vue'
import ddd from './views/动态过渡.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/du',
      name: 'du',
      component: du
    },
    {
      path: '/aaa',
      name: 'aaa',
      component: aaa
    },
    {
      path: '/bbb',
      name: 'bbb',
      component: bbb
    },
    {
      path: '/ccc',
      name: 'ccc',
      component: ccc
    },
    {
      path: '/ddd',
      name: 'ddd',
      component: ddd
    },
  ]
})
